﻿using System;
using System.Collections.Generic;

namespace CRM.Infrastructure.EFCore.Mysql
{
    /// <summary>
    /// 客户跟进表
    /// </summary>
    public partial class CustomerRecord
    {
        /// <summary>
        /// 跟进ID
        /// </summary>
        public string CrId { get; set; } = null!;
        /// <summary>
        /// 客户ID
        /// </summary>
        public string? CrCId { get; set; }
        /// <summary>
        /// 该客户跟进次数
        /// </summary>
        public int? CrNo { get; set; }
        /// <summary>
        /// 跟进内容
        /// </summary>
        public string? CrContent { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CrCreateTime { get; set; }
        /// <summary>
        /// 跟进日期
        /// </summary>
        public DateTime? CrDate { get; set; }
        /// <summary>
        /// 跟进结果
        /// </summary>
        public string? CrResult { get; set; }
        /// <summary>
        /// 预估成功概率
        /// </summary>
        public int? CrSuccess { get; set; }
        public string? CrDesc { get; set; }
        /// <summary>
        /// 是否转换
        /// </summary>
        public int? CrIsConvert { get; set; }
        /// <summary>
        /// 下一次联系时间
        /// </summary>
        public DateTime? CrNextTime { get; set; }
        /// <summary>
        /// 跟进人
        /// </summary>
        public string? CrAuthor { get; set; }
        /// <summary>
        /// 地点
        /// </summary>
        public string? CrLocation { get; set; }
    }
}
